﻿using System;
using System.Collections.Generic;
using System.Text;

namespace _014_第十四章_观察者模式.普通观察者模式
{
    class NBAobserver
    {
        public string Name { get; set; }

        public void CallBackHandler(string obj)
        {
            Console.WriteLine("{0}，{1}请停止看NBA.", obj, Name);
        }
    }
}
